# Changelog
<% changes.sort_by(&:date).reverse.each do |change| -%>

## <%= change.version -%> (<%= change.date.strftime('%Y-%m-%d') -%>)
<%= lines_before(lines(change.general.strip)) unless change.general.nil? -%>
<% unless change.features.nil? -%>

### New features

<%= lines(change.features.map { |f| "- #{wrap_field(f, 2).strip}" }) -%>
<% end # change.features.nil? -%>
<% unless change.fixes.nil? -%>

### Fixes

<%= lines(change.fixes.map { |f| "- #{wrap_field(f, 2).strip}" }) -%>
<% end # change.fixes.nil? -%>
<% end # changes....each -%>
